package com.lkm.market2_0;

import com.lkm.frame.module.ModuleManager;
import com.lkm.frame.task2.TaskManager;
import com.lkm.market2_0.entity.ResponEntity;

import java.io.InputStream;
import java.util.concurrent.Executor;



public abstract class ExpandConfig {

    

    public abstract Float price();
    public abstract String goodsName() ;

    

    public int interceptKeyCode(int keyCode){
        return keyCode;
    }
    

    public abstract String interceptNetApi(String taskId);
    

    public abstract String instask(String taskId, ResponEntity re,String json);

    

    public abstract void receiverPushContent( String customContent);

    

    public static final int  nodeCodeLength = 9;
    

    public static final int  orderNumLength = 20;

    

    public static final long initOrderCount=10000000000l;

    public static ExpandConfig instance = null;


    //     MyApplication.getInstance().getResources().getAssets().open( "astracedev.crt")
    @Deprecated
    public abstract InputStream getHttpsCertificates();


    

    public abstract boolean isUI();





    

    public  boolean isTest(){
        return false;
    };

    

    public  boolean isLogOrderData(){
        return false;
    };

    

    public abstract String getServerApiHost();

    public abstract int steelyardServerPort();




    //     MyApplication.getInstance().getSharedPreferences("privateConfige", Context.MODE_PRIVATE).edit().putString(deviceMac, key).apply();
    public abstract void saveValue(String key, String value);

    // MyApplication.getInstance().getSharedPreferences("privateConfige", Context.MODE_PRIVATE).getString(deviceMac, "");
    public abstract String loadValue(String key, String default_);

    

    

    

    public abstract void showLogInUI(String log);

    public abstract TaskManager getTaskManager2();

    public abstract ModuleManager getModuleManager();

    public abstract void acquireWakeLock(int timeout);

    public abstract void releaseWakeLock();

    public abstract Executor getTaskExecutor();


    

    public abstract String getOrderTempFileDir();


    

    public abstract String getUIast_oid();

    

    public abstract String getServerSteelyardMac(String steelyardNumno, String srcSteelyardMac);







}

